const datajson = {
    type: 'StartEvent',
    name: '发起人',
    nodeId: 'startEventId',
    properties: {
        content: '所有人'
    },
    childNode: {
        name: '审批人',
        type: 'UserTask',
        prevId: 'startEventId',
        nodeId: 'userTask1',
        properties: {
            content: '部门主管'
        },
        childNode: {
            type: 'ExclusiveGateway',
            prevId: 'userTask1',
            nodeId: 'exclusiveGateway',
            conditionNodes: [
                {
                    name: '小于3天',
                    type: 'SequenceFlow',
                    prevId: 'exclusiveGateway',
                    nodeId: 'exclusiveGateway1',
                    properties: {
                        content: '请假时长≤24小时'
                    }
                },
                {
                    name: '大于3天',
                    type: 'SequenceFlow',
                    prevId: 'exclusiveGateway',
                    nodeId: 'exclusiveGateway2',
                    properties: {
                        content: '请假时长＞24小时'
                    },
                    childNode: {
                        name: '审批人',
                        type: 'UserTask',
                        prevId: 'exclusiveGateway2',
                        nodeId: 'userTask2',
                        properties: {
                            content: '上级部门主管'
                        }
                    }
                }
            ],
            properties: {},
            childNode: {
                name: '抄送人',
                type: 'ServiceTask',
                prevId: 'userTask1',
                nodeId: 'serviceTask1',
                properties: {
                    content: ' 抄送人事专员、人事总监'
                }
            }
        }
    }
};

export default datajson;
